package com.sgb.contract.test;

import android.app.Application;

import com.alibaba.android.arouter.launcher.ARouter;
import com.sgb.contract.base.ContractSdk;
import com.swgk.core.util.SharedPreferenceUtil;

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        // ARouter 相关初始化
        ARouter.openLog();
        ARouter.openDebug();
        ARouter.init(this);

        // SharedPreferenceUtil 初始化
        SharedPreferenceUtil.init(getApplicationContext());

        // ContractSdk合同 相关初始化
        ContractSdk.getInstance().init(getApplicationContext());
    }
}
